package com.hospital.demo.model.jiashuai;

import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
public class Password {
    private Integer account;

    private String salt;

    private String password;

    private Integer type;

    private Date createtime;

    public Password(Integer account, String salt, String password, Integer type, Date createtime) {
        this.account = account;
        this.salt = salt;
        this.password = password;
        this.type = type;
        this.createtime = createtime;
    }

    public Password() {
        super();
    }

    public Integer getAccount() {
        return account;
    }

    public void setAccount(Integer account) {
        this.account = account;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}